package web.req;

import common.consts.Consts;
import web.Request;

import javax.validation.constraints.Min;

/**
 * Created by zf on 15/7/17.
 */
public class FavoriteRequest extends Request {


    @Min(value = 1, message = Consts.i18nKey.INVALID_USER_ID)
    private long userId;

    @Min(value = 1, message = Consts.i18nKey.INVALID_USER_ID)
    private long favorUserId;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getFavorUserId() {
        return favorUserId;
    }

    public void setFavorUserId(long favorUserId) {
        this.favorUserId = favorUserId;
    }
}
